package com.zxl.soft.generator.common.enums;

/**
 * title: CommonEnum
 * description: 通用枚举-是否
 *
 * @author zhaoxl
 * @version v1.0
 * @date 2020/5/29 14:34
 */
public enum CommonEnum implements BaseEnum {

    TRUE(0, "是"), FALSE(1, "否");

    private Integer code;

    private String desc;

    CommonEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    @Override
    public Integer getCode() {
        return code;
    }

    @Override
    public String getDesc() {
        return desc;
    }
}
